<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>ShaderPass | ts</title>
	<meta name="description" content="Documentation for ts">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">ts</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-externals" checked />
							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
							<input type="checkbox" id="tsd-filter-only-exported" />
							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Globals</a>
				</li>
				<li>
					<a href="../modules/_laya_d3_shader_shaderpass_.html">&quot;laya/d3/shader/ShaderPass&quot;</a>
				</li>
				<li>
					<a href="_laya_d3_shader_shaderpass_.shaderpass.html">ShaderPass</a>
				</li>
			</ul>
			<h1>Class ShaderPass</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
					<div class="lead">
						<p><code>ShaderPass</code> 类用于实现ShaderPass。</p>
					</div>
				</div>
			</section>
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<span class="tsd-signature-type">ShaderCompile</span>
						<ul class="tsd-hierarchy">
							<li>
								<span class="target">ShaderPass</span>
							</li>
						</ul>
					</li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Constructors</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a href="_laya_d3_shader_shaderpass_.shaderpass.html#constructor" class="tsd-kind-icon">constructor</a></li>
							</ul>
						</section>
						<section class="tsd-index-section tsd-is-inherited">
							<h3>Properties</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="_laya_d3_shader_shaderpass_.shaderpass.html#defs" class="tsd-kind-icon">defs</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static"><a href="_laya_d3_shader_shaderpass_.shaderpass.html#ifdef_else" class="tsd-kind-icon">IFDEF_<wbr>ELSE</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static"><a href="_laya_d3_shader_shaderpass_.shaderpass.html#ifdef_no" class="tsd-kind-icon">IFDEF_<wbr>NO</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static"><a href="_laya_d3_shader_shaderpass_.shaderpass.html#ifdef_parent" class="tsd-kind-icon">IFDEF_<wbr>PARENT</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static"><a href="_laya_d3_shader_shaderpass_.shaderpass.html#ifdef_yes" class="tsd-kind-icon">IFDEF_<wbr>YES</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static"><a href="_laya_d3_shader_shaderpass_.shaderpass.html#_clearcr" class="tsd-kind-icon">_clearCR</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static"><a href="_laya_d3_shader_shaderpass_.shaderpass.html#_reg" class="tsd-kind-icon">_reg</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static"><a href="_laya_d3_shader_shaderpass_.shaderpass.html#_removeannotation" class="tsd-kind-icon">_remove<wbr>Annotation</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static"><a href="_laya_d3_shader_shaderpass_.shaderpass.html#_splittowordexps" class="tsd-kind-icon">_split<wbr>ToWord<wbr>Exps</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static"><a href="_laya_d3_shader_shaderpass_.shaderpass.html#_splittowordexps3" class="tsd-kind-icon">_split<wbr>ToWord<wbr>Exps3</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static"><a href="_laya_d3_shader_shaderpass_.shaderpass.html#includes" class="tsd-kind-icon">includes</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static"><a href="_laya_d3_shader_shaderpass_.shaderpass.html#shaderparamsmap" class="tsd-kind-icon">shader<wbr>Params<wbr>Map</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Accessors</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="_laya_d3_shader_shaderpass_.shaderpass.html#renderstate" class="tsd-kind-icon">render<wbr>State</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_d3_shader_shaderpass_.shaderpass.html#createshader" class="tsd-kind-icon">create<wbr>Shader</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_shader_shaderpass_.shaderpass.html#gettag" class="tsd-kind-icon">get<wbr>Tag</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_d3_shader_shaderpass_.shaderpass.html#settag" class="tsd-kind-icon">set<wbr>Tag</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static"><a href="_laya_d3_shader_shaderpass_.shaderpass.html#addinclude" class="tsd-kind-icon">add<wbr>Include</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static"><a href="_laya_d3_shader_shaderpass_.shaderpass.html#pregetparams" class="tsd-kind-icon">pre<wbr>Get<wbr>Params</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static"><a href="_laya_d3_shader_shaderpass_.shaderpass.html#splittowords" class="tsd-kind-icon">split<wbr>ToWords</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Constructors</h2>
				<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite">
					<a name="constructor" class="tsd-anchor"></a>
					<h3>constructor</h3>
					<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite">
						<li class="tsd-signature tsd-kind-icon">new <wbr>Shader<wbr>Pass<span class="tsd-signature-symbol">(</span>owner<span class="tsd-signature-symbol">: </span><a href="_laya_d3_shader_subshader_.subshader.html" class="tsd-signature-type">SubShader</a>, vs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, ps<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, stateMap<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_d3_shader_shaderpass_.shaderpass.html" class="tsd-signature-type">ShaderPass</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Overrides ShaderCompile.__constructor</p>
								<ul>
									<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/d3/shader/ShaderPass.ts#L50">laya/d3/shader/ShaderPass.ts:50</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>owner: <a href="_laya_d3_shader_subshader_.subshader.html" class="tsd-signature-type">SubShader</a></h5>
								</li>
								<li>
									<h5>vs: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5>ps: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5>stateMap: <span class="tsd-signature-symbol">{}</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-index-signature">
											<h5><span class="tsd-signature-symbol">[</span>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">number</span></h5>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_d3_shader_shaderpass_.shaderpass.html" class="tsd-signature-type">ShaderPass</a></h4>
						</li>
					</ul>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group tsd-is-inherited">
				<h2>Properties</h2>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
					<a name="defs" class="tsd-anchor"></a>
					<h3>defs</h3>
					<div class="tsd-signature tsd-kind-icon">defs<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Object</span></div>
					<aside class="tsd-sources">
						<p>Inherited from ShaderCompile.defs</p>
						<ul>
							<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/webgl/utils/ShaderCompile.ts#L168">laya/webgl/utils/ShaderCompile.ts:168</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
					<a name="ifdef_else" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> IFDEF_<wbr>ELSE</h3>
					<div class="tsd-signature tsd-kind-icon">IFDEF_<wbr>ELSE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 2</span></div>
					<aside class="tsd-sources">
						<p>Inherited from ShaderCompile.IFDEF_ELSE</p>
						<ul>
							<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/webgl/utils/ShaderCompile.ts#L15">laya/webgl/utils/ShaderCompile.ts:15</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
					<a name="ifdef_no" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> IFDEF_<wbr>NO</h3>
					<div class="tsd-signature tsd-kind-icon">IFDEF_<wbr>NO<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
					<aside class="tsd-sources">
						<p>Inherited from ShaderCompile.IFDEF_NO</p>
						<ul>
							<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/webgl/utils/ShaderCompile.ts#L13">laya/webgl/utils/ShaderCompile.ts:13</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
					<a name="ifdef_parent" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> IFDEF_<wbr>PARENT</h3>
					<div class="tsd-signature tsd-kind-icon">IFDEF_<wbr>PARENT<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 3</span></div>
					<aside class="tsd-sources">
						<p>Inherited from ShaderCompile.IFDEF_PARENT</p>
						<ul>
							<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/webgl/utils/ShaderCompile.ts#L16">laya/webgl/utils/ShaderCompile.ts:16</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
					<a name="ifdef_yes" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> IFDEF_<wbr>YES</h3>
					<div class="tsd-signature tsd-kind-icon">IFDEF_<wbr>YES<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></div>
					<aside class="tsd-sources">
						<p>Inherited from ShaderCompile.IFDEF_YES</p>
						<ul>
							<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/webgl/utils/ShaderCompile.ts#L14">laya/webgl/utils/ShaderCompile.ts:14</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
					<a name="_clearcr" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> _clearCR</h3>
					<div class="tsd-signature tsd-kind-icon">_clearCR<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">RegExp</span><span class="tsd-signature-symbol"> = new RegExp(&quot;\r&quot;, &quot;g&quot;)</span></div>
					<aside class="tsd-sources">
						<p>Inherited from ShaderCompile._clearCR</p>
						<ul>
							<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/webgl/utils/ShaderCompile.ts#L167">laya/webgl/utils/ShaderCompile.ts:167</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
					<a name="_reg" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> _reg</h3>
					<div class="tsd-signature tsd-kind-icon">_reg<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">RegExp</span><span class="tsd-signature-symbol"> = new RegExp(&quot;(\&quot;.*\&quot;)|(&#x27;.*&#x27;)|([#\\w\\*-\\.+/()&#x3D;&lt;&gt;{}\\\\]+)|([,;:\\\\])&quot;, &quot;g&quot;)</span></div>
					<aside class="tsd-sources">
						<p>Inherited from ShaderCompile._reg</p>
						<ul>
							<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/webgl/utils/ShaderCompile.ts#L19">laya/webgl/utils/ShaderCompile.ts:19</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
					<a name="_removeannotation" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> _remove<wbr>Annotation</h3>
					<div class="tsd-signature tsd-kind-icon">_remove<wbr>Annotation<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">RegExp</span><span class="tsd-signature-symbol"> = new RegExp(&quot;(/\\*([^*]|[\\r\\\n]|(\\*+([^*/]|[\\r\\n])))*\\*+/)|(//.*)&quot;, &quot;g&quot;)</span></div>
					<aside class="tsd-sources">
						<p>Inherited from ShaderCompile._removeAnnotation</p>
						<ul>
							<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/webgl/utils/ShaderCompile.ts#L18">laya/webgl/utils/ShaderCompile.ts:18</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
					<a name="_splittowordexps" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> _split<wbr>ToWord<wbr>Exps</h3>
					<div class="tsd-signature tsd-kind-icon">_split<wbr>ToWord<wbr>Exps<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">RegExp</span><span class="tsd-signature-symbol"> = new RegExp(&quot;[(\&quot;.*\&quot;)]+|[(&#x27;.*&#x27;)]+|([ \\t&#x3D;\\+\\-*/&amp;%!&lt;&gt;!%\(\),;])&quot;, &quot;g&quot;)</span></div>
					<aside class="tsd-sources">
						<p>Inherited from ShaderCompile._splitToWordExps</p>
						<ul>
							<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/webgl/utils/ShaderCompile.ts#L20">laya/webgl/utils/ShaderCompile.ts:20</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
					<a name="_splittowordexps3" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> _split<wbr>ToWord<wbr>Exps3</h3>
					<div class="tsd-signature tsd-kind-icon">_split<wbr>ToWord<wbr>Exps3<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">RegExp</span><span class="tsd-signature-symbol"> = new RegExp(&quot;[ \\t&#x3D;\\+\\-*/&amp;%!&lt;&gt;!%\(\),;\\|]&quot;, &quot;g&quot;)</span></div>
					<aside class="tsd-sources">
						<p>Inherited from ShaderCompile._splitToWordExps3</p>
						<ul>
							<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/webgl/utils/ShaderCompile.ts#L189">laya/webgl/utils/ShaderCompile.ts:189</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
					<a name="includes" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> includes</h3>
					<div class="tsd-signature tsd-kind-icon">includes<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div>
					<aside class="tsd-sources">
						<p>Inherited from ShaderCompile.includes</p>
						<ul>
							<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/webgl/utils/ShaderCompile.ts#L22">laya/webgl/utils/ShaderCompile.ts:22</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
					<a name="shaderparamsmap" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> shader<wbr>Params<wbr>Map</h3>
					<div class="tsd-signature tsd-kind-icon">shader<wbr>Params<wbr>Map<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div>
					<aside class="tsd-sources">
						<p>Inherited from ShaderCompile.shaderParamsMap</p>
						<ul>
							<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/webgl/utils/ShaderCompile.ts#L23">laya/webgl/utils/ShaderCompile.ts:23</a></li>
						</ul>
					</aside>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Accessors</h2>
				<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class">
					<a name="renderstate" class="tsd-anchor"></a>
					<h3>render<wbr>State</h3>
					<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> renderState<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_d3_core_material_renderstate_.renderstate.html" class="tsd-signature-type">RenderState</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/d3/shader/ShaderPass.ts#L48">laya/d3/shader/ShaderPass.ts:48</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>渲染状态。</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <a href="_laya_d3_core_material_renderstate_.renderstate.html" class="tsd-signature-type">RenderState</a></h4>
						</li>
					</ul>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="createshader" class="tsd-anchor"></a>
					<h3>create<wbr>Shader</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">create<wbr>Shader<span class="tsd-signature-symbol">(</span>define<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, shaderName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, createShader<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Function</span>, bindAttrib<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_webgl_shader_shader_.shader.html" class="tsd-signature-type">Shader</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from ShaderCompile.createShader</p>
								<ul>
									<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/webgl/utils/ShaderCompile.ts#L312">laya/webgl/utils/ShaderCompile.ts:312</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>define: <span class="tsd-signature-type">any</span></h5>
								</li>
								<li>
									<h5>shaderName: <span class="tsd-signature-type">any</span></h5>
								</li>
								<li>
									<h5>createShader: <span class="tsd-signature-type">Function</span></h5>
								</li>
								<li>
									<h5>bindAttrib: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_webgl_shader_shader_.shader.html" class="tsd-signature-type">Shader</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="gettag" class="tsd-anchor"></a>
					<h3>get<wbr>Tag</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Tag<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/d3/shader/ShaderPass.ts#L385">laya/d3/shader/ShaderPass.ts:385</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>获取标记值。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>key: <span class="tsd-signature-type">string</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
							<p>key 标记键。</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="settag" class="tsd-anchor"></a>
					<h3>set<wbr>Tag</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Tag<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/d3/shader/ShaderPass.ts#L374">laya/d3/shader/ShaderPass.ts:374</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>添加标记。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>key: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>标记键。</p>
									</div>
								</li>
								<li>
									<h5>value: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>标记值。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static">
					<a name="addinclude" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> add<wbr>Include</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">add<wbr>Include<span class="tsd-signature-symbol">(</span>fileName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, txt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from ShaderCompile.addInclude</p>
								<ul>
									<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/webgl/utils/ShaderCompile.ts#L57">laya/webgl/utils/ShaderCompile.ts:57</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>fileName: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5>txt: <span class="tsd-signature-type">string</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static">
					<a name="pregetparams" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> pre<wbr>Get<wbr>Params</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">pre<wbr>Get<wbr>Params<span class="tsd-signature-symbol">(</span>vs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, ps<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from ShaderCompile.preGetParams</p>
								<ul>
									<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/webgl/utils/ShaderCompile.ts#L66">laya/webgl/utils/ShaderCompile.ts:66</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>vs: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5>ps: <span class="tsd-signature-type">string</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static">
					<a name="splittowords" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> split<wbr>ToWords</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">split<wbr>ToWords<span class="tsd-signature-symbol">(</span>str<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, block<span class="tsd-signature-symbol">: </span><a href="_laya_webgl_utils_shadernode_.shadernode.html" class="tsd-signature-type">ShaderNode</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from ShaderCompile.splitToWords</p>
								<ul>
									<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/webgl/utils/ShaderCompile.ts#L122">laya/webgl/utils/ShaderCompile.ts:122</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>str: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5>block: <a href="_laya_webgl_utils_shadernode_.shadernode.html" class="tsd-signature-type">ShaderNode</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h4>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class="globals  ">
						<a href="../globals.html"><em>Globals</em></a>
					</li>
					<li class="current tsd-kind-module">
						<a href="../modules/_laya_d3_shader_shaderpass_.html">&quot;laya/d3/shader/<wbr>Shader<wbr>Pass&quot;</a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
				</ul>
				<ul class="current">
					<li class="current tsd-kind-class tsd-parent-kind-module">
						<a href="_laya_d3_shader_shaderpass_.shaderpass.html" class="tsd-kind-icon">Shader<wbr>Pass</a>
						<ul>
							<li class=" tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite">
								<a href="_laya_d3_shader_shaderpass_.shaderpass.html#constructor" class="tsd-kind-icon">constructor</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_d3_shader_shaderpass_.shaderpass.html#defs" class="tsd-kind-icon">defs</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
								<a href="_laya_d3_shader_shaderpass_.shaderpass.html#ifdef_else" class="tsd-kind-icon">IFDEF_<wbr>ELSE</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
								<a href="_laya_d3_shader_shaderpass_.shaderpass.html#ifdef_no" class="tsd-kind-icon">IFDEF_<wbr>NO</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
								<a href="_laya_d3_shader_shaderpass_.shaderpass.html#ifdef_parent" class="tsd-kind-icon">IFDEF_<wbr>PARENT</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
								<a href="_laya_d3_shader_shaderpass_.shaderpass.html#ifdef_yes" class="tsd-kind-icon">IFDEF_<wbr>YES</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
								<a href="_laya_d3_shader_shaderpass_.shaderpass.html#_clearcr" class="tsd-kind-icon">_clearCR</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
								<a href="_laya_d3_shader_shaderpass_.shaderpass.html#_reg" class="tsd-kind-icon">_reg</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
								<a href="_laya_d3_shader_shaderpass_.shaderpass.html#_removeannotation" class="tsd-kind-icon">_remove<wbr>Annotation</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
								<a href="_laya_d3_shader_shaderpass_.shaderpass.html#_splittowordexps" class="tsd-kind-icon">_split<wbr>ToWord<wbr>Exps</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
								<a href="_laya_d3_shader_shaderpass_.shaderpass.html#_splittowordexps3" class="tsd-kind-icon">_split<wbr>ToWord<wbr>Exps3</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
								<a href="_laya_d3_shader_shaderpass_.shaderpass.html#includes" class="tsd-kind-icon">includes</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
								<a href="_laya_d3_shader_shaderpass_.shaderpass.html#shaderparamsmap" class="tsd-kind-icon">shader<wbr>Params<wbr>Map</a>
							</li>
							<li class=" tsd-kind-get-signature tsd-parent-kind-class">
								<a href="_laya_d3_shader_shaderpass_.shaderpass.html#renderstate" class="tsd-kind-icon">render<wbr>State</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_d3_shader_shaderpass_.shaderpass.html#createshader" class="tsd-kind-icon">create<wbr>Shader</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_shader_shaderpass_.shaderpass.html#gettag" class="tsd-kind-icon">get<wbr>Tag</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_d3_shader_shaderpass_.shaderpass.html#settag" class="tsd-kind-icon">set<wbr>Tag</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static">
								<a href="_laya_d3_shader_shaderpass_.shaderpass.html#addinclude" class="tsd-kind-icon">add<wbr>Include</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static">
								<a href="_laya_d3_shader_shaderpass_.shaderpass.html#pregetparams" class="tsd-kind-icon">pre<wbr>Get<wbr>Params</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static">
								<a href="_laya_d3_shader_shaderpass_.shaderpass.html#splittowords" class="tsd-kind-icon">split<wbr>ToWords</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer>
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>